package sz.szsmk.citizencard.mvp.contract;

import sz.szsmk.citizencard.model.network.bean.response.CollecQueryRes;
import sz.szsmk.citizencard.model.network.bean.response.WebsiteInfoRes;
import sz.szsmk.citizencard.ui.base.IBaseContact;

import java.util.List;

/**
 * Copyright (c)2018
 * author: zdh
 * created on: 2018/6/4 19:59
 * description:
 */
public interface IServiceDetailContact {

    interface IServiceDetailPresenter<T extends IBaseContact.IBaseView> extends IBaseContact.IBasePresenter {
        void websiteInfo(String s, String s1, String s2);

        void addCollection(int officeId, String serviceOfficeId);

        void cancelCollec(int officeId, String serviceOfficeId);

        void queryCollect();
    }

    interface IServiceDetailView extends IBaseContact.IBaseView {
        void websiteInfoSucc(WebsiteInfoRes response);

        void websiteInfoFail();

        void addSuccess(String message);

        void addFail(String msg);

        void canSuccess(String message);

        void canFail(String msg);

        void queryCollectSucc(List<CollecQueryRes.DataBean> data);

        void queryCollectFail();
    }
}
